// 统一管理用户相关的接口
import { defaultRequest } from '@/utils/request'
// 同意管理用的的接口
enum API {
     GetMeetPc = '/api/Meet/GetMeetPc',
     AddMeet = '/api/Meet/AddMeet',
     UpdateMeet = '/api/Meet/UpdateMeet',
     DeleteMeet = '/api/Meet/DeleteMeet',
     UploadMeetImage = '/api/Meet/UploadMeetImage',
}
// 对外暴漏请求函数
export const GetMeetPc = (data: any) => defaultRequest.post(API.GetMeetPc, data)
export const AddMeet = (data: any) => defaultRequest.post(API.AddMeet, data)
export const UpdateMeet = (data: any) => defaultRequest.post(API.UpdateMeet, data)
export const DeleteMeet = (params: any) => defaultRequest.get(API.DeleteMeet, { params })
export const UploadMeetImage = (data: any, file: any) => defaultRequest.upload({ url: API.UploadMeetImage, data }, file)
